<%@page import="tx.bj12320.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ include file="/commons/taglibs.jsp" %>
<rapid:override name="head">
	<title><%=UserInfo.TABLE_ALIAS%> 维护</title>
 <!-- jmesa css -->
<link rel="stylesheet" type="text/css" href="${ctx}/css/jmesa.css"></link>
<link rel="stylesheet" type="text/css" href="${ctx}/css/example.css"></link>
 <!-- js files -->
<script type="text/javascript" src="${ctx}/js/jquery-1.3.min.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.jmesa.js"></script>
<script type="text/javascript" src="${ctx}/js/jmesa.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.validate.js"></script>
</rapid:override>

<rapid:override name="content">

<form name="presidentsForm" action="${ctx}/pages/TszbProcessInfo/userTasks.do">

            <jmesa:tableModel
                id="tag"
                items="${tasks}"
                maxRows="20"
                maxRowsIncrements="10,20,50,100"
                filterMatcherMap=""
                stateAttr="restore"
                var="item"
                >
            <jmesa:htmlTable
                width="100%"
               >
                <jmesa:htmlRow>
                    <jmesa:htmlColumn property="orgName_p" title="网络单位名称">${item.orgName }
                    	<c:if test="${item.isEmergency==1 }"><font color="red">（紧急）</font></c:if>
                    	<c:if test="${item.lastOperateIsPass==0 }"><font color="blue">（退回）</font></c:if>
                    </jmesa:htmlColumn>
                    <jmesa:htmlColumn property="createTimeString" title="接收时间"/>
                    <jmesa:htmlColumn property="task.name" title="当前环节" filterEditor="org.jmesa.view.html.editor.DroplistFilterEditor"/>
                    <jmesa:htmlColumn property="workOrderTypeString" title="工单类型" filterEditor="org.jmesa.view.html.editor.DroplistFilterEditor"/>
                    <jmesa:htmlColumn property="lastOperateUserInfoRealName" title="提交人" filterEditor="org.jmesa.view.html.editor.DroplistFilterEditor"/>
                    <jmesa:htmlColumn property="o_p" title="操作" filterable="false">
                        <a href="${ctx}/pages/TszbProcessInfo/toDealTask.do?taskId=${item.task.id }&tszbProcessInfoId=${item.tszbProcessInfoId}">办理</a>&nbsp;&nbsp;&nbsp;
                    </jmesa:htmlColumn>
                </jmesa:htmlRow>
            </jmesa:htmlTable>
            </jmesa:tableModel>

        </form>
        <script type="text/javascript">
            function onInvokeAction(id) {
                $.jmesa.createHiddenInputFieldsForLimitAndSubmit(id);
            }
        </script>

</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>

